﻿package frEngine.shader.filters.fragmentFilters
{
    import frEngine.shader.*;
    import frEngine.shader.filters.*;

    public class ColoredScreenFilter extends FilterBase
    {

        public function ColoredScreenFilter()
        {
            super(FilterType.ColoredScreenFilter, FilterPriority.ColoredScreenFilter);
            return;
        }// end function

        override public function dispose() : void
        {
            return;
        }// end function

        override public function setRegisterParams(param1:Program3dRegisterInstance) : void
        {
            return;
        }// end function

        override public function get programeId() : String
        {
            return "ColoredScreen ";
        }// end function

        override public function createFragmentColor(param1:Program3dRegisterInstance, param2:Boolean) : String
        {
            var _loc_3:String = "";
            _loc_3 = _loc_3 + "max    ft1.x   \t\t{output}.x   {output}.y  \n";
            _loc_3 = _loc_3 + "max    ft1.w   \t\tft1.x        {output}.z  \n";
            _loc_3 = _loc_3 + "mov    {output}.xyz   \tft1.w          \t \t\t \n";
            return _loc_3;
        }// end function

    }
}
